home *** CD-ROM | disk | FTP | other *** search
- @REM SETUP.BAT; Graphcat/Windows 3.1
- @REM Copyright 1994 Jerry Stern--All Rights Reserved, 04/94
- @REM Use this batch file to install Graphcat in WPWin52 ONLY.
- @REM For WPWIN60, run the macro INSTALL.WCM.
- @echo off
- cls
- if not exist graphwin.doc goto baddir
- if not exist graphcat.dll goto baddir
- if not exist index.wc5 goto baddir
- if "%1"=="" goto info
- if "%2"=="" goto info
- if not exist %2\*.* goto nomac
- if not exist %1\*.* goto new
- ECHO Upgrade Installation Graphcat/Windows 3.1 Installation for WPWin 5.2
- ECHO Your old graphics and docs from the DOS version will not be replaced.
- goto more
- :new
- ECHO New Installation of Graphcat/Windows 3.1 Installation for WPWin 5.2
- :more
- ECHO ...
- ECHO Files for GRAPHCAT 3.1 for WP/Windows will now be copied:
- ECHO Macros and the GRAPHCAT.DLL file will be copied to %2
- ECHO A partial set of the instructions and graphics will be copied
- ECHO to the directory %1. You will need about 350K of free space.
- ECHO ...
- ECHO Press any key to proceed with installation, or Control-C to stop now.
- pause > nul
- copy graphcat.wc5 %2\graphcat.wcm
- copy index.wc5 %2\index.wcm
- copy graphcat.dll %2
- if not exist %1\*.* md %1
- copy *.doc %1\*.*
- copy *.wpg %1\*.*
- copy printdoc.bat %1\*.*
- copy fileindx.* %1\*.*
- copy name.ndx %1\*.*
- copy vendinfo.diz %1\*.*
- ECHO Done...
- ECHO If you haven't already,
- ECHO run PRINTDOC.BAT for instructions on printing the manual.
- goto end
- :nomac
- ECHO Graphcat/Windows 3.1 Installation for WPWin 5.2
- ECHO The directory that you have chosen to copy the macros and DLL file to
- ECHO is empty or doesn't exist. Please check the name, and try again.
- goto end
- :baddir
- ECHO Graphcat/Windows 3.1 Installation for WPWin 5.2
- ECHO You must start this installation by logging to the drive and directory
- ECHO where the files are currently located. When you run SETUP from that
- ECHO directory, it will help you find the correct startup command to
- ECHO install your software.
- goto end
- :info
- ECHO Graphcat/Windows 3.1 Installation for WPWin 5.2
- ECHO ...
- ECHO This batch file is ONLY for use with WPWin 5.2. If you need to install
- ECHO Graphcat for WPWin 6.0, run INSTALL.WCM from inside WP, by pressing
- ECHO Macro[Alt-F10], path:\install, and Enter, where path is the current
- ECHO location of the Graphcat files.
- ECHO ...
- ECHO Start SETUP.BAT with the new directory name to make for
- ECHO storing Graphcat instructions and graphics, and the name
- ECHO of the macro directory used by WordPerfect 5.2, usually
- ECHO c:\wpwin\macros or c:\wpwin.
- ECHO ...
- ECHO If you don't know where WP/WIN 5.2 keeps your macros,
- ECHO choose File, Preferences, Location of Files, and write
- ECHO down the entry under "Macros/Keyboards/Button Bars" and
- ECHO enter it from the DOS prompt. (Press Escape to return to
- ECHO the document screen.)
- ECHO ...
- ECHO For example:
- ECHO SETUP c:\graphcat c:\wpwin\macros
- ECHO (Copies package to c:\graphcat, using c:\wpwin\macros for macros.)
- :end
- PAUSE